﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Scheduling
{
    /// <summary>
    /// 班组类型表实体类
    /// </summary>
    public class TeamType
    {
        /// <summary>
        /// 班组类型ID（主键，若数据库中是自增列，可添加自增配置）
        /// </summary>
        [Key]
        [Column("TeamTypeId")]
        public int TeamTypeId { get; set; }

        /// <summary>
        /// 班组类型编码
        /// </summary>
        [Column("TeamTypeCode")]
        [StringLength(50)] // 假设编码最长 50 字符，可根据实际调整
        public string TeamTypeCode { get; set; }

        /// <summary>
        /// 班组类型名称
        /// </summary>
        [Column("TeamTypeName")]
        [StringLength(100)] // 假设名称最长 100 字符，可根据实际调整
        public string TeamTypeName { get; set; }

        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
